#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2019/11/18 上午10:07
# @Author  : yinxin
# @File    : log
# @Software: PyCharm


from pathlib import PurePath

from happy_python import HappyLog

CONFIG_DIR = PurePath(__file__).parent / 'configs'
LOG_CONFIG_FILENAME = str(CONFIG_DIR / 'log.ini')

# 加载log配置
hlog = HappyLog.get_instance(LOG_CONFIG_FILENAME)
